Divide with floating point numbers so that the result will be floating
authorAnders Carlsson <andersca@gnu.org>
Fri, 17 Aug 2001 08:09:24 +0000 (08:09 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Fri, 17 Aug 2001 08:09:24 +0000 (08:09 +0000)
2001-08-17  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkstyle.c (create_expander_affine): Divide with floating
point numbers so that the result will be floating point.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkstyle.c

index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 9c69e6100bab936dc24e1900396bffa92cc96b9b..7e9dad89691610e245de6e055ac4bff7790e1eb6 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkstyle.c (create_expander_affine): Divide with floating
+       point numbers so that the result will be floating point.
+
 2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * tests/testgtk.c (create_handle_box): 
index 5e4ed033e031eb80f3516f22a5bc26fdc56863d3..31eb52c92fd9c5b95d05e4d8ac1264ae70e69c0d 100644 (file)
@@ -4003,8 +4003,8 @@ create_expander_affine (gdouble affine[6],
   gdouble width;
   gdouble height;
 
-  width = expander_size / 4;
-  height = expander_size / 2;
+  width = expander_size / 4.0;
+  height = expander_size / 2.0;
   
   s = sin (degrees * G_PI / 180.0);
   c = cos (degrees * G_PI / 180.0);